﻿<script type="text/template" id="menu-templatex">
	<ul class="menu">
		<% _.each(items, function(item){ %>
			<li><a href="javascript:jmvc.module('menu').action('menu', 'menuitemclicked' ,'<%=item.module%>')"><%=item.text %></a></li>
		<%}) %>
	</ul>
</script>

<script type="text/template" id="menu-breadcrumb">
	<ul class="menu-breadcrumb">
		<% _.each(items, function(item){ %>
			<li><a href="javascript:jmvc.action('menu', 'menuitemclicked' ,'<%=item.module%>')"><%=item.text %></a></li>
		<%}) %>
	</ul>
</script>



<script type="text/template" id="menu-template">
	<ul class="menu" controller="menu">
		<li repeat="items"><a bind="text" action='{"module":"menu","controller":"menu", "action":"menuitemclicked", "model": "module"}'></a></li>
	</ul>
</script>

